package com.middlegroup.subjectpay.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.middlegroup.subjectpay.entity.KjtpayBankCode;
import com.middlegroup.subjectpay.mapper.KjtpayBankCodeMapper;
import com.middlegroup.subjectpay.service.KjtpayBankCodeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author pc123
 * @since 2019-01-14
 */
@Service
public class KjtpayBankCodeServiceImpl extends ServiceImpl<KjtpayBankCodeMapper, KjtpayBankCode> implements KjtpayBankCodeService {

    @Resource
    private KjtpayBankCodeMapper kjtpayBankCodeMapper;

    @Override
    public KjtpayBankCode getBankCode(String innerBankCode) {
        return kjtpayBankCodeMapper.getBankCode(innerBankCode);
    }
}
